xen/arm: Move the code to map FDT in the boot tables from assembly to C
authorJulien Grall <julien.grall@arm.com>
Thu, 20 Apr 2017 15:12:26 +0000 (16:12 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 20 Apr 2017 17:31:20 +0000 (10:31 -0700)
commitf7d93cee1160bf18f77750da2d5900aee9ca15cc
treeca9ae459f8fe1d02cef9e5b7d4d2158b4b3f1600
parentcaa4742f2f6a883ce169cd55de35fc101ac3e0a2
xen/arm: Move the code to map FDT in the boot tables from assembly to C

The FDT will not be accessed before start_xen (begining of C code) is
called and it will be easier to maintain as the code could be common
between AArch32 and AArch64.

A new function early_fdt_map is introduced to map the FDT in the boot
page table.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/arm32/head.S
xen/arch/arm/arm64/head.S
xen/arch/arm/mm.c
xen/arch/arm/setup.c
xen/include/asm-arm/mm.h